package com.apexsoft.monitor.front.console.host.dao;

import com.apexsoft.monitor.front.console.host.om.Host;
import com.baomidou.mybatisplus.mapper.AutoMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface HostDao extends AutoMapper<Host>{
    public Host selectByHostName(@Param("hostName") String hostName);
    public Host selectByHostCode(@Param("hostCode") String hostCode);

    public int insertHost(Host host);
}
